import request from "@/utils/request.js";

//添加
export const iconAddService = (iconData) => {
    return request.post('/icons/add',iconData);
}

//编辑
export const iconUpdateService = (iconData) => {
    return request.put('/icons',iconData);
}

//删除
export const iconDeleteService = (iconId) => {
    return request.delete('/icons?iconId='+iconId)
}

//查询
export const iconListService = (params) => {
    return request.get('/icons/list',{params:params});
}

